package com.bestcem.xm.user.mq.message.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 创建用户组发送的消息内容
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/11 14:07
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class CreateGroupMessage implements Serializable {

    private static final long serialVersionUID = -8221529836628207776L;

    /**
     * 租户id
     */
    @JsonProperty("orgID")
    @JSONField(name = "orgID")
    private String orgId;
    /**
     * 根组织id
     */
    @JsonProperty("root_group_id")
    @JSONField(name = "root_group_id")
    private String rootGroupId;
    /**
     * 组织id
     */
    @JsonProperty("id")
    @JSONField(name = "id")
    private String groupId;
    /**
     * 组织编码
     */
    @JsonProperty("code")
    @JSONField(name = "code")
    private String groupCode;
    /**
     * 组织名称
     */
    @JsonProperty("title")
    @JSONField(name = "title")
    private String groupName;
    /**
     * 层级id
     */
    @JsonProperty("groupLevelID")
    @JSONField(name = "groupLevelID")
    private String groupLevelId;

}
